#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2017/12/3 21:29
# @Author  : Simon
import win32api
import time

while True:
    f = open('conf.txt', 'r', encoding= 'utf-8')
    content = f.read().split('#')
    if content[0] != '0':
        win32api.MessageBox(0, content[1], content[2])
    time.sleep(15)